<form id="pagerForm" action="__URL__/index" method="post">
    <include file="Public/pagerForm" />
    <input type="hidden" name="pid" value="{$search['pid']}" />
    <input type="hidden" name="pidSort" value="{$search['pidSort']}" />
</form>

<script type="text/javascript" src="__JS__/twoLinkage.js"></script>
<script type="text/javascript">
$( function() {
	var parentObj = $('select[name="pidSort"]');
        var subObj = $('select[name="secondpid"]');
	$.twoLinkage( parentObj, subObj );
        
        var parentObj = $('select[name="secondpid"]');
        var subObj = $('select[name="pid"]');
	$.twoLinkage( parentObj, subObj );
} );
</script>
<div class="pageHeader">

</div>

<div class="pageContent">
    <table class="table" width="100%" layoutH="206">
        <thead>
        <tr>
            <th width="2%"><input type="checkbox" group="id" class="checkboxCtrl" ></th>
            <th width="3%">编号</th>
            <th width="15%">公司名称</th>
            <th width="20%">公司地址</th>
            <th width="15%">联系电话</th>
			<th width="10%">企业邮箱</th>
            <th width="10%">微信二维码</th>
            <th width="10%">企业微信二维码</th>
			<th width="10%">操作</th>
        </tr>
        </thead>
        <tbody>
        <if condition="$dataList|count gt 0">
            <volist name="dataList" id="volist" key="k">
                <tr target="sid_user" rel="{$volist['id']}" >
                    <td><input name="id" value="{$volist['id']}" type="checkbox"></td>
                    <td>{:( $page['pageNum'] - 1 ) * $page['numPerPage'] + $k}</td>
                    <td>{$volist['company_name']}</td>
                    <td>{$volist['company_address']}</td>
                    <td>{$volist['tel']}元</td>
					<td>{$volist['email']}</td>
                    <td>
                        <if condition="$volist['wechat_img'] eq ''">
                            无
                            <else />
                            <a href="__ROOT__{$volist['wechat_img']}" title="{$volist['wechat_img']}" target="_blank" rel="example_group">
                                <img src="__ROOT__{$volist['wechat_img']}" height="50" alt="{$volist['wechat_img']}" />
                            </a>
                        </if>
                    </td>
					<td>
                        <if condition="$volist['comp_wechat_img'] eq ''">
                            无
                            <else />
                            <a href="__ROOT__{$volist['comp_wechat_img']}" title="{$volist['comp_wechat_img']}" target="_blank" rel="example_group">
                                <img src="__ROOT__{$volist['comp_wechat_img']}" height="50" alt="{$volist['comp_wechat_img']}" />
                            </a>
                        </if>
                    </td>
					<td><a href="__URL__/edit/id/{$volist['id']}" target="navTab" style="color: #09F" title="修改">【编辑】</a></td>
                </tr>
            </volist>
        <else />
        	<tr><td colspan="10" style="text-align:center;">没有数据!!!</td></tr>
        </if>
        </tbody>
    </table>
    
</div>